{% load future wenlincms_tags wlcore_tags report_tags %}
<h1 class="pdf-headtitle">七、资产交易</h1>
<!--<div class="pdf-divbox">-->
<!--<h2 class="pdf-secondtitle">6.1 ICP备案信息</h2>-->
<!--{% if icp_objs %}-->
<!--<table class="pdf-table">-->
<!--<thead>-->
<!--<tr>-->
<!--<th style="width: 20px;"></th>-->
<!--<th style="width: 80px;">审核时间</th>-->
<!--<th>网站名称</th>-->
<!--<th style="width: 220px;">网站域名</th>-->
<!--<th style="width: 150px;">单位性质</th>-->
<!--<th style="width: 130px;">备案号</th>-->
<!--</tr>-->
<!--</thead>-->
<!--<tbody>-->
<!--{% for res in icp_objs %}-->
<!--<tr>-->
<!--<td class="pdf-counter">{{ forloop.counter }}</td>-->
<!--<td>{{ res.tgsj|elfbztbdate }}</td>-->
<!--<td>{{ res.wzmc|elweizhi }}</td>-->
<!--<td class="pdf-break">{{ res.host|elweizhi }}</td>-->
<!--<td>{{ res.dwxz|elweizhi }}</td>-->
<!--<td>{{ res.bah|elweizhi }}</td>-->
<!--</tr>-->
<!--{% endfor %}-->
<!--</tbody>-->
<!--</table>-->
<!--{% else %}-->
<!--<p class="pdf-nodata">暂无</p>-->
<!--{% endif %}-->
<!--</div>-->

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">6.1 商标信息</h2>
    {% if el_tminfo %}
    <table class="pdf-table">
        <thead>
        <tr>
            <th style="width: 20px;"></th>
            <th width="80">商标名称</th>
            <th width="60">注册日期</th>
            <th width="120">代理人</th>
            <th width="60">商标类型</th>
            <th width="50">商标状态</th>
        </tr>
        </thead>
        <tbody>
        {% for res in el_tminfo %}
        <tr>
            <td class="pdf-counter">{{ forloop.counter }}</td>
            {% if res.TMCN %}
            <td>{{ res.TMCN|elweizhi }}</td>
            {% else %}
            <td>{{ res.TMEN|elweizhi }}</td>
            {% endif %}
            <td>{{ res.RegDate|date:"Y-m-j"|elweizhi }}</td>
            <td>{{ res.TMAgent|elweizhi }}</td>
            <td>{{ res.get_TMType_display|elweizhi }}</td>
            <td>{{ res.TMStatus|elweizhi }}</td>
        </tr>
        {% endfor %}
        </tbody>
    </table>
    {% else %}
    <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">6.2 著作权信息</h2>
    {% if zzq_objs %}
    <table class="pdf-table pdf-table-list">
        <tr>
            <th style="width: 20px;"></th>
            <th style="width: 250px;">软件全称</th>
            <th style="width: 150px;">软件简称</th>
            <th style="width: 150px;">登记号</th>
            <th style="width: 150px;">首次发表日期</th>
            <th style="width: 150px;">登记日期</th>
            <th style="width: 100px;">版本号</th>
        </tr>
        {% for res in zzq_objs %}
        <tr>
            <td class="pdf-counter">{{ forloop.counter }}</td>
            <td>{{ res.softname_full|elfbztbdate }}</td>
            <td>{{ res.softname_short|elweizhi }}</td>
            <td>{{ res.regno_software|elweizhi }}</td>
            <td>{{ res.firstpubdate_software|elweizhi }}</td>
            <td>{{ res.regdate_software|elweizhi }}</td>
            <td>{{ res.softverson|elweizhi }}</td>
        </tr>
        {% endfor %}

    </table>
    {% else %}
    <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">6.3 专利信息</h2>
    {% if el_patents %}

    {% for res in el_patents %}
    <table class="pdf-table pdf-table-list">
        <tr>
            <th style="width: 20px;"></th>
            <th style="width: 100px;">专利号</th>
            <th style="width: 100px;">专利名</th>
            <th style="width: 100px;">申请日期</th>
            <th style="width: 100px;">代理机构</th>
        </tr>
        <tr>
            <td rowspan="5" class="pdf-counter">{{ forloop.counter }}</td>
            <td>{{ res.pid.sqh|elweizhi }}</td>
            <td>{{ res.pid.patname|elweizhi }}</td>
            <td>{{ res.pid.sqrq|elweizhi }}</td>
            <td>{{ res.pid.zldljg|elweizhi }}</td>
        </tr>
        <tr>
            <th>申请人</th>
            <th>范畴分类</th>
            <th>引证文献</th>
            <th>优先权</th>
        </tr>
        <tr>
            <td>{{ res.pid.sqr|elweizhi }}</td>
            <td>{{ res.pid.fcfl|elweizhi }}</td>
            <td>{{ res.pid.yzwx|elweizhi }}</td>
            <td>{{ res.pid.yxq|elweizhi }}</td>
        </tr>
        <tr>
            <td>主权项</td>
            <td colspan="5">{{ res.pid.zqx|elweizhi }}</td>
        </tr>
        <tr>
            <td>摘要</td>
            <td colspan="5">{{ res.pid.zy|elweizhi }}</td>
        </tr>
    </table>
    {% endfor %}
    {% else %}
    <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>


<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">6.5 动产抵押信息</h2>
    {% if el_morts %}
    <table class="pdf-table">
        <thead>
        <tr>
            <th style="width: 20px;"></th>
            <th style="width: 80px;">登记证号</th>
            <th style="width: 70px;">抵押权人</th>
            <th style="width: 70px;">登记机关</th>
            <th style="width: 70px;">登记日期</th>
            <th style="width: 70px;">状态标识</th>
            <th>被担保范围</th>
            <th style="width: 70px;">被担保主债权数额(万元)</th>
            <th style="width: 70px;">履约起始日期</th>
            <th style="width: 70px;">履约截止日期</th>
            <th style="width: 70px;">注销日期</th>
        </tr>
        </thead>
        <tbody>
        {% for res in el_morts %}
        <tr>
            <td class="pdf-counter">{{ forloop.counter }}</td>
            <td>{{ res.MORREGCNO|elweizhi }}</td>
            <td>{{ res.MORTGAGOR|elweizhi }}</td>
            <td>{{ res.REGORG|elweizhi }}</td>
            <td>{{ res.REGIDATE|date:"Y-m-j"|elweizhi }}</td>
            <td>{{ res.get_MORTYPE_display|elweizhi }}</td>
            <td>{{ res.the_claim.WARCOV|elweizhi }}</td>
            <td>{{ res.the_claim.PRICLASECAM|elweizhi }}</td>
            <td>{{ res.the_claim.PEFPERFORM|date:"Y-m-j"|elweizhi }}</td>
            <td>{{ res.the_claim.PEFPERTO|date:"Y-m-j"|elfloat:1|elweizhi }}</td>
            <td>{{ res.CANDATE|date:"Y-m-j"|elweizhi }}</td>
        </tr>
        {% endfor %}
        </tbody>
    </table>
    {% else %}
    <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>

<div class="pdf-divbox">
    <h2 class="pdf-secondtitle">6.6 动产抵押物信息</h2>
    {% if el_mort_guas %}
    <table class="pdf-table">
        <thead>
        <tr>
            <th style="width: 20px;"></th>
            <th style="width:200px;">抵押物名称</th>
            <th style="width:200px;">所有权属</th>
            <th>抵押物描述</th>
        </tr>
        </thead>
        <tbody>
        {% for res in el_mort_guas %}
        <tr>
            <td class="pdf-counter">{{ forloop.counter }}</td>
            <td>{{ res.GUANAME|elweizhi }}</td>
            <td>{{ res.OWN|elweizhi }}</td>
            <td>{{ res.GUADES|elweizhi }}</td>
        </tr>
        {% endfor %}
        </tbody>
    </table>
    {% else %}
    <p class="pdf-nodata">暂无</p>
    {% endif %}
</div>
